<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width, user-scalable=no, 
			initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
		<link rel="stylesheet" href="assets/mui/css/mui.min.css" />
		<link rel="stylesheet" href="css/search.css" />
		<link rel="stylesheet" href="css/base.css" />
		<link rel="stylesheet" href="assets/fontAwesome/css/font-awesome.min.css" />
		
		<!--zepoto是jQuery的精简版，fx.js是用来做动画的，touch.js是需要事件时引入，
			zepto.min.js是提供基础选择器的，selector.js是扩展的选择器，-->
		<script src="assets/zepto/zepto.min.js"></script>
		<script src="js/search.js"></script>
		<script src="js/public.js"></script>
		<script src="assets/mui/js/mui.min.js"></script>
		<!--引入模板引擎template，
			用来帮我们将数据和HTML拼接好，将拼接好的结果，返回给我们，具体看category.js和HTML的配合
		-->
		<script src="assets/artTemplate/template-native.js"></script>
		
	</head>
	<body>
		<header class="mui-bar mui-bar-nav myHeader">			
			<h1 class="mui-title">搜索</h1>
			<!--mui-pull-right与bootstrap用法一样，加个mui前缀即可-->
			
		</header>
		<nav class="mui-bar mui-bar-tab footer my-foot">
			<a class="mui-tab-item mui-active" href="index.html">
				<span class="mui-icon mui-icon-home"></span>
				<span class="mui-tab-label">首页</span>
			</a>
			<a class="mui-tab-item " href="category.html">
				<span class="mui-icon mui-icon-bars"></span>
				<span class="mui-tab-label">分类</span>
			</a>
			<a class="mui-tab-item " href="index.html">
				<span class="mui-icon fa fa-shopping-cart"></span>
				<span class="mui-tab-label">购物车</span>
			</a>
			<a class="mui-tab-item " href="index.html">
				<span class="mui-icon mui-icon-person"></span>
				<span class="mui-tab-label">会员中心</span>
			</a>
		</nav>
		<!--网页内容区-->
		<div class="mui-content">
			<div class="content">
				<div class="search">
					<input type="text" class="search" placeholder="请输入您想要的商品">
					<input type="button" value="搜索" id="search-btn"/>
				</div>			
				<div class="history-top mui-clearfix">
					<span class="history-text">搜索历史</span>
					<span class="history-clear mui-icon mui-icon-trash">清除记录</span>
				</div>
				<div class="search-content">
					<ul class="mui-table-view" id="history-list">
					    
					   
					</ul>
				</div>
			</div>
		</div>
		<script id="H-list" type="text/template">
			
			<% for( var i=0;i<result.length;i++){ %>
				<li class="mui-table-view-cell"><%=result[i] %></li>
			<% } %>
		</script>
	</body>
</html>
